package ${package.Service};

import com.baomidou.mybatisplus.core.metadata.IPage;
import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import java.util.List;
/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

    boolean create(${entity} ${entity?uncap_first});

    boolean delete(List<Long> ids);

    boolean update(${entity} ${entity?uncap_first});

    ${entity} queryById(Long id);

    List<${entity}> selectList();

    IPage<${entity}> selectPage(IPage<${entity}> page);

}
</#if>
